<!DOCTYPE html>
<html>
<head>
    <title>{$site_info.site_name|default=''}</title>
    <include file="public@head"/>
    <include file="student/public@head"/>
    <link href="__STATIC__/student/css/index.css" rel="stylesheet" type="text/css">
</head>
<body>
<include file="student/public@header"/>
<include file="student/public@grade"/>
<include file="student/public@login"/>
<!--banner-->
<div class="banner">
    <div class="swiper-container">
        <div class="swiper-wrapper">
            <volist name="$index_info['silide']" id="item">
                <div class="swiper-slide"><a href="{$item['url']}"><img class="img" src="{$item['image']}"></a></div>
            </volist>
        </div>
        <!-- Add Pagination -->
        <div class="swiper-pagination"></div>
    </div>
</div>

    
<!--<新加广告位>-->
<div class="advert-push1 el-row" style="margin-left: -10px; margin-right: -10px;">
    <div class="el-col el-col-8" style="padding-left: 10px; padding-right: 10px;">
        <a href="https://git.sdwanyue.com/contact">
            <div class="el-image">
                <img src="https://edu-qiniu.sdwanyue.com/admin/20220924/2e217f62a9e0b852916bdfd6e8d0751e.png" class="el-image__inner" style="object-fit: cover;border-radius: 10px;">
              <img src="https://edu-qiniu.sdwanyue.com/admin/20220924/325c848ec40ec507ed313466a8b8b2c5.png" class="el-image__inner" style="object-fit: cover;border-radius: 10px;"><!---->
                 <img src="https://edu-qiniu.sdwanyue.com/admin/20220924/32fc77c064e99f8769ec3a5a68a4c098.png" class="el-image__inner" style="object-fit: cover;border-radius: 10px;"><!---->
             </div>
        </a>
     </div>
</div>


<!--<新加功能展示模块>-->
<div class="hq2018part2">
    <div class="w1180">
        <div class="userlink">
            <a href="/student/mine/message" target="_blank">
                <span class="icon18 icon18-link1"></span>
                消息动态
            </a>
            <a href="/student/mine/mybase" target="_blank">
                <span class="icon18 icon18-link6"></span>
                学员管理
            </a>
            <a href="/student/lessionlist/index" target="_blank">
                <span class="icon18 icon18-link7"></span>
                选课中心
            </a>
            <a href="/student/mine/index" target="_blank">
                <span class="icon18 icon18-link4"></span>
                课程兑换
            </a>
            <a href="/student/teachers/index" target="_blank" rel="nofollow">
                <span class="icon18 icon18-link5"></span>
                师资力量
            </a>
            <a href="https://jq.qq.com/?_wv=1027&k=gL3ywL2e" onclick="geduQiyuOpen('397806035');return false;" target="_blank">
                <span class="icon18 icon18-link-qt"></span>
                课程咨询
            </a>
        </div>
        <a href="http://git.sdwanyue.com/" class="link" target="_blank">
            <img src="http://s.hqwx.com/statics/home/mall/images/link4.png?v=20220427.1335">
        </a>
        <a href="http://git.sdwanyue.com/" class="link" target="_blank">
            <img src="http://s.hqwx.com/statics/home/mall/images/link1.png?v=20220427.1335">
        </a>
        <a href="https://mp.weixin.qq.com/s/Bsf0n2CfODct8Pm3iKPHWA" class="link hqindextk" target="_blank">
            <img src="http://s.hqwx.com/statics/home/mall/images/link2.png?v=20220427.1335">
        </a>
    </div>
</div>

<div class="body kaiyuan_body">

    <div class="less_top kaiyuan_less_top" <if condition ="$keywords neq ''">style="display:none;"</if>>
        <div class="middle">
            <div class="ul" style="position: relative;margin-top: 30px;">
                <div class="left" style="margin-left: 10px">选择学段</div>
                <div id="xd" class="right">
                    <volist name="$xdlist" id="item">
                        <div class="li <if condition='$key eq 0'>active</if>" data-id="{$item.id}">{$item.name}</div>
                    </volist>
                </div>
            </div>
            <div class="ul">
                <div class="left" style="margin-left: 10px">选择年级</div>
                <div id="nj" class="right">
                    <volist name="$njlist" id="item">
                        <div class="li <if condition='$key eq 0'>active</if>" data-id="{$item.id}">{$item.name}</div>
                    </volist>

                </div>
            </div>

            <div class="ul">
                <div class="left" style="margin-left: 10px">选择类别</div>
                <div id="lb" class="right">
                    <div class="li active" data-id="99">全部</div>
                    <div class="li" data-id="3">直播</div>
                    <div class="li" data-id="4">内容</div>
                </div>
            </div>
        </div>
    </div>
    

    <div class="zhibo_wrap">
        <div class="less_list less_list_daban kaiyuan_less_list list kaiyuan_info_list" <if condition ="$keywords neq ''">style="margin-top:80px;"</if>>
        <div class="tips">
            <span>直播课堂</span>
            
            <div style="display: inline-block; width: 92%; text-align: right;">
                <a style="color:#9e9a9a" href="{:url('student/lessionlist/index',['flag' => '3'])}">更多>
                
                </a>
                
            </div>
        </div>
        <ul>
          <volist name="lesslist" id="item">
            <li>
                <a href="/student/detail/class?id={$item.id}">
                    <div class="content">
                        <div class="top" style="background: url({$item.thumb}) no-repeat;background-size: cover;">
                            <div class="tip">课程</div>
                        </div>
                        <div class="title">{$item.name}</div>
                        <div class="information">
                            <text class="text1">{$item.lesson}</text>
                            <if condition="$item.ismaterial eq 1">
                                <img src="__STATIC__/student/images/index/book.png"><text class="text2">含教材</text>
                            </if>

                        </div>
                        <div class="bottom">
                            <img class="img1" src="{$item.avatar}">
                            <text class="name">{$item.user_nickname}</text>
                            <if condition="$item.paytype eq 0">
                                <text class="mian">免费</text>
                            </if>
                            <if condition="$item.paytype eq 1">
                                <text class="money">￥{$item.payval}</text>
                            </if>
                            <if condition="$item.paytype eq 2">
                                <text class="mi">密码</text>
                            </if>
                        </div>
                    </div>
                </a>
            </li>
          </volist>
             
        </ul>
       
    </div>


   </div>


    <div class="less_list_nei kaiyuan_less_list list kaiyuan_info_list" <if condition ="$keywords neq ''">style="margin-top:80px;"</if>>
    <div class="tips">
        <span>精选内容</span>
        <div style="display: inline-block; width: 92%; text-align: right;">
            <a style="color:#9e9a9a" href="{:url('student/lessionlist/index',['flag' => '3'])}">更多></a>
        </div>
    </div>
    <ul>
        <volist name="neirong" id="item">
            <li>
                <a href="/student/detail/class?id={$item.id}">
                    <div class="content">
                        <div class="top" style="background: url({$item.thumb}) no-repeat;background-size: cover;">
                            <div class="tip">课程</div>
                        </div>
                        <div class="title">{$item.name}</div>
                        <div class="information">
                            <text class="text1">{$item.lesson}</text>
                            <if condition="$item.ismaterial eq 1">
                                <img src="__STATIC__/student/images/index/book.png"><text class="text2">含教材</text>
                            </if>

                        </div>
                        <div class="bottom">
                            <img class="img1" src="{$item.avatar}">
                            <text class="name">{$item.user_nickname}</text>
                            <if condition="$item.paytype eq 0">
                                <text class="mian">免费</text>
                            </if>
                            <if condition="$item.paytype eq 1">
                                <text class="money">￥{$item.payval}</text>
                            </if>
                            <if condition="$item.paytype eq 2">
                                <text class="mi">密码</text>
                            </if>
                        </div>
                    </div>
                </a>
            </li>
        </volist>
    </ul>

    </div>

        <!-- 新闻资讯 -->
  

    <div class="less_list_nei kaiyuan_less_list list kaiyuan_info_list new_list" <if condition ="$keywords neq ''">style="margin-top:80px;"</if>>
            <div class="tips">新闻资讯</div>
            <div class="list">
                <volist name="$newsList" id="value">
                    <a target="_blank" href="{:url('student/Press/read',['id'=>$value.id])}">
                        <div class="item">

                            <div class="middle">
                                <div class="name">
                                  {$value.name}
                                </div>
                            </div>
                            <div class="bottom">
                                <div class="left">
                                    【{$value.add_time}】
                                </div>

                            </div>
                        </div>
                    </a>
                </volist>

            </div>

            <if condition="!$newsList">
                <div class="empty_data" style="text-align: center;margin: 50px auto;height: 100px;">
                    <img src="/static/student/images/empty_data.png" alt="">
                    <div style="color: #D7D7D7;">
                        暂无内容
                    </div>
                </div>
            </if>
        </div> 
   
     </div>
     
   
    <div class="right-nav">
        <img class="right-img" src="__STATIC__/images/qq_qun.png" alt="">
        <p>加入QQ群</p>
        <p>学习更轻松</p>
    </div>

</div>


<include file="student/public@footer"/>
<include file="student/public@scripts"/>
<script>
    var isBackLog = '{$isBackLog}';
    var xdid = "{$xdid}"; //学段id
    var njid = "{$njid}"; //年级id
    var kmid = '0'; //科目id
    var lbid = '1'; //类别id
    var page = 1; //页码
    var isMore = 0;
    var pageFlag = 0; //当前页面内没有更多按钮, 此标志置0

</script>
<script src="__STATIC__/student/js/index.js"></script>
<script src="__STATIC__/student/js/lessionlist.js"></script>
<script type="text/javascript">


    $('.gotop').on('click', function (e) {
        e.preventDefault();
        $("html,body").animate({scrollTop: 0}, 750);
    });
    
    $(".weixin-wrap").on('mouseover', function (e) {
        $(".weixin-img").show();
    }).mouseout(function () {
        $(".weixin-img").hide();
    });


    // 动态绑定
    $('.kaiyuan_info_list ul').delegate('li','mouseover',function(){
        $(this).css("position", "relative");
        $(this).css("top", "-10px");
    }).delegate('li','mouseout',function(){
        $(this).css("position", "");
        $(this).css("top", "");
    });
    
    

</script>

</body>
</html>
